|
|
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
> In article <3c698ea4$1@news.povray.org>,
> "Bill DeWitt" <bde### [at] cflrrcom> wrote:
>
> > vaxis_rotate???
>
> vaxis_rotate() is a function that operates on vectors. There are a few
> macros available that will generate a transform for rotating objects
> around any axis (do a search on the scene file groups here, or look in
> the povray.org link pages), and one is included in the POV 3.5 standard
> includes.
Maybe I misunderstood the question.
#declare Sphere1 = x;
#declare Sphere2 = vaxis_rotate(Sphere1, 1, 360*clock);
sphere { Sphere1, 0.4 pigment { rgb x } } // the object
sphere { Sphere2, 0.5 pigment { rgb y } } // the rotated object
cylinder { 0, 1, 0.25 pigment { rgb z } } // the arbitrary axis
Post a reply to this message
|
|